package com.example.demo.order.domain.dto;

import com.example.demo.base.BaseRespDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Auther: miaoguoxin
 * @Date: 2020/3/18 20:48
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TestRespDto extends BaseRespDto {
    private String username;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date time;

    private Integer age;

    private Map<String,String> map;

    private TestDto testDto;
    private List<String> list;
}
